fix for options resolving