fixed bug with TestApp1