make some variables more portable