Fixed Wrong variables