bugfix for access to methods where no access should be