bug fix - now properly initializing options