Fix for activity