fixes bug in startup test