got display attribute to run without errors