fixing sun wrapping problem