fix strict error, remove typehinting