changed error message to loading message