making sure widget ids are correctly derived