ui placeholder replacement (preventing errors)