fixed isCrab for local running