md and offline online fix