Fixing issue #463

Just a small fix for #463