Bug fix for options page