fix fatal mistake