Fixed check goal method.