fixed retrieve bug, added partial