bug fix, check for existence of extras option