fix the validation bug for self placement