bug fix on removing files

this bug happens after moving options to controllers
since we have no client side testing :(
removing uploaded files

OOps!