Fix issue 6: Step always fails with exit code 1

Fix issue #6: Step always fails with exit code 1