upgraded deps & fixed bugs.