added remove_at, fixed bug in remove