fix int and float issue in eval()