added some magic

fixed something i forgot to add