fixed issue with input access in widget context