clean up API entry controller