updated error handling for subreddit input