fixed bug where popup detail doesn't render