Fix for version attribute error