fixed wrong join
database backup