fix date and level passing. few other things.