Fix epi mean registration