fixed replace on ends