fix one arg length bug in apps