Deleted duplication within the app to clear error message upon refreshing.