fix style of 'when'
list and hash will not reverse order of elements in validation