Fixes the code pool