Fixed marked() callback