Platform require in Window fixed