bugfix: discount only issue in WebKit browsers