Fix should be in-bound instead of out-bound