Fixing mapping between the order of attributes of form, index and show