This would have never of happened if x had a gun.png.BaseName