a fix to underscore method bug