add getLast
improve google map widget