fixed activity loop