fixed wierd bug (global void type overwriten bool type, silly typo. time for real global type cache)