don't add empty lines before and after code block in spin()