rework pricemanager and previewcontroller