fix for running specs commands