fixed bug in _types