fixed bug of findpoint