fixing input gile