validation fixing