fix indent
fix unused var named d
also fix indent
Merge pull request #1 from supermomonga/indent

Fix wrong indent