works around empty activities