fixed weekend no-second-open bug
merging bug fix from gh-pages