Fixed unchecked warning during compilation