couple bug fixes and adding a variable table entry