fix use LOCAL_LAYOUTS table name instead LAYOUTS