typecast status id, remove logging