bug in retain Features for logicals fixed