Then why amount is shows up ?
There are 2 possible reason that i know,
1. Your Bitcoin Core isn't fully synced, which makes the wallet unaware the input already used
2. Bitcoin Core failed to update your wallet. Running command "rescanblockchain" can solve this problem.