fixed code file contruct