led blinks and stops at interrupt