fix for choose last activity with tag