register extensions in the correct order