minor fix on start up