fix googlecode Issue 578.