Fixed an error caused by the attribute manager update.