fix purchases listing on UI