bugfix for stall