refix indent, promise