google REST API + fixes