only replace prefix if start of string