fixed profile error output