Thread.sleep() let the fragment not attach the activity
TODO watch this bug later and fix it