Fixed the getUnit service with markers format.