check for actitvies and exit if none