fixed issues unknown declarations