Setting date to now to try to fix null pointer error