beutifying error message