removing some magic