fix uniform penalties