Some bugfixes on alpha and localdbase