small fix to avoid retain cycle

delegate reference should be weak