fixing compile error in package file