Added fallback for hidden attribute