Fix some potential serial troubles
Fix bugs that caused the wrong effect to be set