[algorithms][kashish]fixing ui bugs in algorithms