fixed an issue with dry