fixed users SQL, local variables in posts index