Fixed failed assertion