fixing bug in mine image sizes