fix marks drawing