fixed exception if selectbox with prompt is inside the replicator