Quick fix

Deleted unneeded code