fixed problem in pagoda app