fixes condition check failure message