fix interface to have getting prefix