Added fix to superfuluous warning