switch default values for append_slash