Hardware abstractionlayer fixed