normalize endFrame when not wrapping
building from src
removing unnecessary console.log