fixing pesky time issue