Fixed Bad Request error