fixed the bug with the start activity