Fix release mode.