auto fix on save