fixed precision warnings