fixed markAs() function to correctly match month