fix build after usings removal, partly fix python