get color for last point working, but remove connection is buggy