FIxed problem with foreca