fixes compile issues