Added @preed for bugfix #772. Thanks!