Fixing a bug introduced by the new application management