fix for no attribute