fixed header problem sleep