Make sure entity is alive
formatting
todo