fixing runstudy.java