fixing brackets and spacing