fix for id error on model page