set html dir to absolute path