fixed separated dir build