fix dependencies and bug