Fixed some typos with wall flag setting