fix for RuboCop