corrected options hooks