fix state message
fix on ubuntu