add smart indent