fix varable error