Fixing error in creating discussion