fixed nullpointers if empty pos is attacked