fixes page crash