check tg before create action