fix dist app rank passing