bug in castingCall()