added hidden field check