fix file construct