fix some more warnings

finally got rid of that lvalue one!