add hidden flag to entities
add hidden flag to entities