improvement of time parameter handling