Removed trailing period if exists