fix fatal errr