fix issue 1343 on google code