fix issue with API endpoints when creating topics named 'common' or 'energy' (used to delete old endpoints)