Fix for anime issues during post-processing, TypeError: object of type 'int' has no len()