Fixed problems with spacing in code environments