fixed bug with blank discount code