Error in add period