Fix lagic flaw