fixes multi-period issues