attempt at fixing fors