Refactor repeat
Fix gulp phantom