bugfix function get