Fix a error when use this software on DB server