made a changes to ux library to support my preview