Solved bug that caused slower page loading.