This fixes #1028,resolves #745