fix on start bug