Fixed bugs on userActivity