rewrite wrong implementation of party view