Fixed bug with ref keys