try to fix 2 travis error "Only variables should be passed by reference"