Fixed parent attribute error message