fixed a few magic effect issues.