standartized calls to python primitives
bugfixes