fixing typos
fixing permissions problem