Removed garbage value from calculations