fix matches agains null or string element
server side rendering
formatting