Fixed comment and non-functional error check