sanitize args and remove preceding = signs from values