fix bug with too much pays