fixed bug with 'edit post link'