fixes bad options extending