bug fixes for magic magic, and help magic