Fixed bug using -sub in cbg view