removed unneccessary get_db_size