changed res syntax
1.5.4