Add a guard line for possible crash in style migration