status code error fixes