Fixed not passing correct status