platform not supported error fix