activity import bugfix