Better error handling in walkInt