made error message more friendly