check errors on setting time