fix option menu bug