Removed arbitrary chain creation, fixed annoying error