fixed abs position in surface detection