Fix error with ' . closes #2388