fix splitcheck bugs, clean up controller and service