modified runnable in mainactivity
fixed join