bugfix dicount