more fixes for sequence handling