controller send tx refactoring
small fixes