remove fragment before create a new one

Signed-off-by: Grarak <williye97@gmail.com>