fixes background images problem