bug fix for concave obstacle