remove preview functionality