Fix deltax bug

explained it