Fixed bug in get and get* because also didn't pass by ref