Fixed attribute-not-found error.