some small changes added to blog class