fixed error path