better handling for status values