fix syntax in 'check_status'