adding guard to dep gems