fix admin preview