fixing issus with before each