remove unnecessary dir level