added auto hash align