fixed stupid calc by me