[FIX] got multiple values for keyword argument 'allocated'