different results on pages and in local, debugging