fixed delete bug. i think