fix #5927 first implementation for deletion of representations