bugfix startup.m