fix current month input and refactor year to string