profile and bugfix