Fix application startup