fix bug. simplify 'g:phrase_basedir'