fixing a bug on post link