fix application callback for start server