some fixes for pilt profiles preview