set the platform to no static
Fixed a missing semicolon in an 'if else' statement