Fixed rubocop warnings

Change-Id: If2cbe240404d6ce8f0ae919ba59aebfa0a3d15b0