Fix indentation
Fix problems with minimize