added hidden field for subresource support #633