Fixed missing 'err' on return error message.