Fix for invalid window token[C