improve service controller
improve popup
fix sql error