Fixed cut and paste errors