add check on options existence