fixed calculation type flag constants