fix #3 for auto tile generator component

fix 3