fixed marks bug