small sedmodel bug fix