some errors/warning fixes travis showed