fixed code type