fix locateFragment