Fixes NPE, thanks for the info @L5D