Fixed unchecked warning