cleaning code of google api module