Error type file fix