Fixed problem with Credentials "Replace" function