fixed 1491

fixes #1491