fixe rept and add edit feature..