Fix a dependencies to q