fix bugs in result of activity