fix contact controller

Move variables out of the strings to remove the literal string interpolation.