sample period fix