fix components controller to properly display table attributes