bug fix, occupied building wasnt put in proper place in ap list