removed fake resize code