fixed current_date bug