fixing error 400