Fixed errors for special platform