fixed calc logic
bug fix ('00')