minor fixes
fix addseparator method
minor fixes