add support for drag listener, fix crash