fixing CustomKarkdownViewEngine bug