fixes #446 - Avoid setting same value