Fixed a bug (function call)