Fix push preview function