get status flags fix