add propercase to flag replace