fixed loading of respond, modernize