bug fixing for hidden cell