Fix Error on startup