cleanup for MayaQuery implementation