make hamster contants independent
make hamster client support new AM