fixed upload issue with time