fix app frontend bug