updated clipboard service to work with new structure