Properly set prefix where needed