bug fixed for 1-slack