fixing routing issues with posts