fix always required bug