minor fix so migration from master db works