bugfix, invalid class constant
requirements may be optional
update