fixed MainActivity