fix unnecessary str,int time conversion