fix docker api stuff