fixed 'Uncaught Object' issue and applied the design