[FIX] fixed calculation