fix home pic onload bug