Fix period layout