add few backward compatibilities and add a couple of erros messages