fixed an unchecked warning