activity error when rebasing