syntax error correction (last for day)