Made some stupid errors concerning the lookuptable

Made some stupid errors concerning the lookuptable, mixed up some local
files