adding catch for posts with no dashes in name