small fixes and added 'uncheked' parameter to compiler