remove hal dependency