bug fixes in acivity view