fixing get_resource calls with no arguments