bugfix wx factories module