Fix ordering of extensions to prevent error.