bugfix always loading default options as check is on !empty while it should be on !== null