reflection, security, bug fixes