removing PIL ref