fix the way I number things in the database, fix display of related blocks on the main page