edit some bug on MainActivity