removed main in database