penalty bug fix