fix double used codes

here we go. @sraue