fixed issue about alignment error window