Fixing input name attributes