figured I might as well fix the effects and commands code too