Another fix to the al pesant code