Fixed warning about passing argument