Resolved size problem in CLI wrapper