fix and improve online-status