reproduce #773