fixed a bug re: runtime, now can handle single digit dates