added more logging to troubleshoot on mobile