Attach placeholder to model if no placeholder found

Fix #2248
Fix #2250