fixed typos, moved atomic blocks checking to \jr judgment