statc obstacle bug fixed