fixes image sizes generation