fix order for smartchr