i fixed some bugs in BiorhythmAdapter.js