Fixed broken $q
Fixed delete → remove