let-in fix thanks to wiz