fixed sql query for join and added select and radio in rtformhandler