fixes #26. A serious bug with my re-implementation of the uic generated files