fixed issue noted by nuclearcat