fixing placement checking errors