Fixed the fix of the momentum and vertex of the photons