fix:disable buttons when not in input period