fixing empty date error and multicode target error
Merge pull request #22 from apatel/master

fixing empty date error and multicode target error