fixed issue with -a flagth -a flag and now working on -l flag