remove dep on realpath