fix color and online status return