Bugfix on id error.