Fix bug in validation
Change params and fix .gitignore