remove unused connect event