fixed some problems that caused travis-ci NOTES