fixed bug if empty module property is set