remove unnecessary time calculation

one time should be enough