Fix marks lookup