fixed bug in wall placement