fix bug with descriptors introduced in #212