fix app:setup line-wrap

resolve #607.