fix database properties