Wrong percentage calculation