got rid of 'reply is deprecated' warnings