changed pattern warnings