added switch for auto lock of fiscal calendar
added autofix method to diagnostics