added a few more bugs to dolist