bugfix default platform wasnt working