Minor code adjustment