fix bug in grunt build for base