remove dependency on qs module