fixed issue with activities