Default actions code corrected