removing edge case where intent is null