Bug fixed
fix the bug from App class