fixed bug of edit button not displaying on own posts consistently