static properties and functions bug fixed:
when static properties are listed above functions!