This update fixes nan problems.