fixed some 500 errors and changed home page to static grid layout