removed debug and removed panel delay