problem to get application by id