small fix
Fixed integer conversion