added fallback check on page loads