fixed integer conversion issue
version