ticket:9 fix all models and stderr
ticket:9 fix test