fixing issue raised by @meatballs1