hide the empty period fields