define some constant for  readable code, fix some mispell