fixed misstypings and defaults