fix unless statement