Fixed lookup bug.