finish compiler and improve kvconfig