fix sharking bug.