fixes null ob issue