fixed bug after adding liveness