final fix for #70 - fix messed brackets