fixed an unchecked operation