improve homepage errors