some refactoring: posts will not be processed if start and end post does not match them