fixed leaving old code in