bug fix, detected wrong page for updating edit post screen