updated to avoid warnings travis-ci