refactor chromesender