fixed implicit integer conversion