improved apply_mirror() and changed version to 0.1.10