remove unneeded dependencies
reformat code