[core] fix minor formatting issues

parent af167637
Pipeline #52917 failed with stages