making sure seconds is integers for environ variables