Fixed bug in discharge target