Phases: set the period correctly

Review by @DarkDimius 
Nice catch! Thanks!