bug fixed --> correct outlet delegate
bug fixed --> type cast