fix bug -- application and application_cargo