Removed weird error. Should now work properly