moved static variables to utility
temporary fix for reloading of images and having an incorrect image show up