Fixing issue with images -1.