fixing compile bugs
removed unnecessary dependency declarations