fixed issue with unset variable for bands, also fixed time issue where asked time is greater than acceptable