fixed multiplatform save issue