fixing that the order of the definition is ignored