Finally got rid of the error popup