Fix the mob path issue.