Minor code fix