correct bugs, add code application module