fix issue7 on google code