Fix getsize method call parameter