Fixed the call type bug