Fixed bug in asynchronous call of type.any