Remove resize code, added later