delete by id works, queries almost working