bugfix for issue 729