fixed issue where invalid activity name was sent to second activity