fixed an issue with type cast in get
merged master