some small fixes for variables