fix database conflict.