move patch to models so it gets loaded #626