bugfix object to static