fixing user sequences and some minor improvements