Fixing strict standards complaint and list view