Security fix for doc display redux