fix pretty option