fix lowercase platform var