fixed preview loading