fixed bug that was causing brackets to lock up (!= null vs !== null)