returned wrong code in failure