removing -g flag