edit with link to prepid
bug fix on invalidation