fix bug printing application id