bugfix for when no phases
0.1.3