Finally bug fixed. Mongoose can't have hook as property