fixes bug with failing