Homepage ref box fix