fixed error (external functions)