fix extra end
fixed error with sidebar
removed commented line