setEntity does not return Dynamic