Bugfix/nbytesproblem

This is the version we fixed. If you want I can fix the permissions as well, but that should't bee too much of a problem