remove preview btn code