before i made error