return values from error status was wrong