move objecttype into options