bug fix for position finder