fixed no preview but need to find out how to add click to delete.