removed a few echos and update code format for li controller