Missing require dbox
Fixed merge indentations and missing index