refix #629

thx @der-b