$q not resolved