change context parameter name to dtype from datatype