Fixing errors from console
merged and fixed bad request