fixed messed up selectTime issue
change for heroku