Fix monthyear format bug