828 respect sequence

Will fix #828