fix issue where api will allow a user to create a raw device over an existing one