Fixed a bug with call