blog crashed due to improper code