join will now ignore fields if not in db using param
updated