test 2 end bug fixed