Fixing problem with double code.