Removed garbage value in calculations