small edits to get rid of internal variable casting