cast status to int