fixed coloring and coordinate