remove old commented function && change -l to -L