fixed code compilation mode