Fix static model parent isssue