[fix] [database.py] cleanup index size from name