cast index to a string when removing