Fix problem with periods