fixed a bug in startup.m