removing unnecessary logs, configure error popup