Fixed bug in glossmark maintenance