change get_address to get_color_address
fix some errors
removed address length check