edited blank post error handling