impl deleteBridge & use macro to declare method