fix events for lab pages