Fixing ids of heading