fix bug finding markers, which can be outside of the body