hiding loading indicator in case of error
added accessing test environment
warning added as a reminder for preproduction changes