fix type in file