fix error while a directory named like base.js