move hq dependent imports inline (boooo)