Platform var fix