fix create activity bug