fixed python global object constants