set status code correct only jsonmessage