fixes manual penalize problem.