fixed markdown null pointer