state is deprecated, but only in latest ember, keep working on old versions