fix the error could cause captach and expaginator won't work.