fixed cut and paste mistakes