Some bugs and pip setup