fixed a typo and added defaults