Force state to int