fix site and db validation errors