fix third argument for getApp