prototype inheritance fixes; fix to app/util/log