fix obstacles