some speedfixes