fix formatting in monkey patches