accounts: fix create/delete func