Prevent list from happening twice when using it from argument