fix for bad arg order